package java57_7;

import java.util.Scanner;

public class Dengyao {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		System.out.println("input height:");
		int h = sc.nextInt();
		int t = h;
		for (int i = 1; i <= h; i++) {
			for (int j = 1; j <= i; j++)
				System.out.print(" ");
			for (int j = 1; j <= 2 * t - 1; j++) {
				System.out.print("*");
			}
			t--;
			System.out.println();
		}

	}

}
